//
//  BKTextField.h
//  buka
//
//  Created by 曹飞 on 16/7/4.
//  Copyright © 2016年 songhuipan. All rights reserved.
//
//

#import <UIKit/UIKit.h>

@interface BKTextField : UITextField


/**
 *  生成制定标题的textfield
 *
 *  @param frame frame
 *  @param name  标题名
 *
 *  @return
 */
//- (instancetype)initWithFrame:(CGRect)frame
//                 withLeftName:(NSString *)name;

/**
 *  生成制定标题的textfield
 *
 *  @param frame       frame
 *  @param name        标题名
 *  @param placeholder placeholder
 *
 *  @return BKTextField 实体
 */
- (instancetype)initWithFrame:(CGRect)frame
                 withLeftName:(NSString *)name
              withPlaceholder:(NSString *)placeholder;

/**
 *  生成制定标题的textfield
 *
 *  @param frame       frame
 *  @param name         标题名
 *  @param placeholder placeholder
 *  @param color       placeholder color
 *
 *  @return BKTextField 实体
 */
- (instancetype)initWithFrame:(CGRect)frame
                 withLeftName:(NSString *)name
              withPlaceholder:(NSString *)placeholder
         withPlaceholderColor:(UIColor*)color;



@end
